package tt.com.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 服务项目表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "yx_common_serve_providers")
public class YxCommonServeProviders {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 服务名
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 服务类型id
     */
    @TableField(value = "serve_type_id")
    private String serveTypeId;

    /**
     * 供应商id
     */
    @TableField(value = "providers_id")
    private String providersId;

    /**
     * 服务 类型名称
     */
    @TableField(value = "serve_type_name")
    private String serveTypeName;

    /**
     * 供应商名称
     */
    @TableField(value = "providers_name")
    private String providersName;

    /**
     * 排序
     */
    @TableField(value = "seq")
    private Integer seq;

    /**
     * 服务编码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 财务编码
     */
    @TableField(value = "charge_code")
    private String chargeCode;

    /**
     * 成本价格
     */
    @TableField(value = "cost_price")
    private BigDecimal costPrice;

    /**
     * 服务价格
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 服务价格单位
     */
    @TableField(value = "price_unit")
    private String priceUnit;

    /**
     * 服务到期时间
     */
    @TableField(value = "due_time")
    private Date dueTime;

    /**
     * 材质
     */
    @TableField(value = "texture")
    private String texture;

    /**
     * 规格
     */
    @TableField(value = "specifications")
    private String specifications;

    /**
     * 说明
     */
    @TableField(value = "instructions")
    private String instructions;

    /**
     * 服务有效状态(0失效 1 有效)
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private String createUserId;

    /**
     * 最后修改时间
     */
    @TableField(value = "last_update_time")
    private Date lastUpdateTime;

    /**
     * 最后修改人
     */
    @TableField(value = "last_update_user_id")
    private String lastUpdateUserId;

    /**
     * 删除时间
     */
    @TableField(value = "delete_time")
    private Date deleteTime;

    /**
     * 删除人
     */
    @TableField(value = "delete_user_id")
    private String deleteUserId;

    /**
     * 删除状态(0删除 1正常)
     */
    @TableField(value = "data_status")
    private Integer dataStatus;

    /**
     * 机构id
     */
    @TableField(value = "organ_id")
    private String organId;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_SERVE_TYPE_ID = "serve_type_id";

    public static final String COL_PROVIDERS_ID = "providers_id";

    public static final String COL_SERVE_TYPE_NAME = "serve_type_name";

    public static final String COL_PROVIDERS_NAME = "providers_name";

    public static final String COL_SEQ = "seq";

    public static final String COL_CODE = "code";

    public static final String COL_CHARGE_CODE = "charge_code";

    public static final String COL_COST_PRICE = "cost_price";

    public static final String COL_PRICE = "price";

    public static final String COL_PRICE_UNIT = "price_unit";

    public static final String COL_DUE_TIME = "due_time";

    public static final String COL_TEXTURE = "texture";

    public static final String COL_SPECIFICATIONS = "specifications";

    public static final String COL_INSTRUCTIONS = "instructions";

    public static final String COL_STATUS = "status";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CREATE_USER_ID = "create_user_id";

    public static final String COL_LAST_UPDATE_TIME = "last_update_time";

    public static final String COL_LAST_UPDATE_USER_ID = "last_update_user_id";

    public static final String COL_DELETE_TIME = "delete_time";

    public static final String COL_DELETE_USER_ID = "delete_user_id";

    public static final String COL_DATA_STATUS = "data_status";

    public static final String COL_ORGAN_ID = "organ_id";
}